Theoretical Exploration for the Impact of Accounting for Special Methods in Connectivity-Based Cohesion Measurement
نویسنده
چکیده
Class cohesion is a key object-oriented software quality attribute that is used to evaluate the degree of relatedness of class attributes and methods. Researchers have proposed several class cohesion measures. However, the effect of considering the special methods (i.e., constructors, destructors, and access and delegation methods) in cohesion calculation is not thoroughly theoretically studied for most of them. In this paper, we address this issue for three popular connectivity-based class cohesion measures. For each of the considered measures we theoretically study the impact of including or excluding special methods on the values that are obtained by applying the measure. This study is based on analyzing the definitions and formulas that are proposed for the measures. The results show that including/excluding special methods has a considerable effect on the obtained cohesion values and that this effect varies from one measure to another. For each of the three connectivity-based measures, the proposed theoretical study recommended excluding the special methods in cohesion measurement. Keywords—Object-oriented class, software quality, class cohesion measure, class cohesion, special methods.
منابع مشابه
Theoretical Analysis of the Effect of Accounting for Special Methods in Similarity-Based Cohesion Measurement
Class cohesion is an important object-oriented software quality attributes, and it refers to the degree of relatedness of class attributes and methods. Several class cohesion measures are proposed in the literature, and the impact of considering the special methods (i.e., constructors, destructors, and access and delegation methods) in cohesion calculation is not thoroughly theoretically studie...
متن کاملThe impact of accounting for special methods in the measurement of object-oriented class cohesion on refactoring and fault prediction activities
Class cohesion is a key attribute that is used to assess the design quality of a class, and it refers to the extent to which the attributes and methods of the class are related. Typically, classes contain special types of methods, such as constructors, destructors, and access methods. Each of these special methods has its own characteristics, which can artificially affect the class cohesion mea...
متن کاملQualitative Analysis for the Impact of Accounting for Special Methods in Object-Oriented Class Cohesion Measurement
Class cohesion is a key object-oriented software quality attribute. It refers to the degree of relatedness of class attributes and methods. Several class cohesion metrics are proposed in the literature. However, the impact of considering the special methods (i.e., constructors, destructors, and access and delegation methods) in cohesion calculation is not thoroughly theoretically studied for mo...
متن کاملThe Impact of Propagating Management Accounting Innovations on Organizational Culture
Regarding the tremendous changes effected in the domain of modern technologies and information technologies, firms are required to adopt management accounting innovations to continue their operations. While the extant literature has focused on developed countries, the present project is set to determine the extent to which management accounting innovations are applied in firms in the context of...
متن کاملEmpirical Exploration for the Correlation between Class Object-Oriented Connectivity-Based Cohesion and Coupling
Attributes and methods are the basic contents of an object-oriented class. The connectivity among these class members and the relationship between the class and other classes play an important role in determining the quality of an object-oriented system. Class cohesion evaluates the degree of relatedness of class attributes and methods, whereas class coupling refers to the degree to which a cla...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
دوره شماره
صفحات -
تاریخ انتشار 2014